@import "../../assets/style/global";

.header {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  height: 70px;
  background: $headerBgColor;

  &-logo {
    display: flex;
    width: 360px;
    margin-left: 30px;
    &-icon {
      display: inline-block;
      width: 42px;
      height: 38px;
      margin: 15px 15px 0 0;
      background: url(./images/logo.png) no-repeat center;
    }
    &-title {
      line-height: 70px;
      font-size: 20px;
      color: $grayLight;
    }

  }

  &-list {
    flex-grow: 1;
    height: 70px;

    &-item {
      float: left;
      padding: 25px 20px;
      box-sizing: border-box;
      cursor: pointer;
      a {
        padding: 22px 20px;
        color: $gray;
        &.active{
            border-bottom: 4px solid $blue;
            color: $grayLight;
        }
      }
    }
  }

  &-right {
    display: flex;
    //padding: 25px 20px;

    > div {
      //height: 70px;
      padding: 25px 20px;
      > a {
        color: $gray;
        padding: 22px 20px;
      }
      > i {
        font-size: 14px;
        color: $gray;
        margin-right: 5px;
      }
      span {
        margin-left: 5px;
      }
      .active{
        border-bottom: 4px solid $blue;
        color: $grayLight;
      }
    }

    .header-out {
      margin-right: 30px;
    }
  }
}
// 导航下拉菜单样式
.menu-drop-down{
    .ant-dropdown-menu-item{
        padding: 0;
    }
    a{
        color: $gray;
        display: block;
        width: 100%;
        text-align: center;
        $height: 36px;
        line-height: $height;
        height:$height;
        &.active{
            color: $blue;
            background: #262b38;
        }
    }
}
/* antd下拉样式重新定义 */
.ant-dropdown-menu {
  background-color: $sideBgColor !important;
  padding: 0;
}
.ant-dropdown-menu-item > a, .ant-dropdown-menu-submenu-title > a {
  color: $gray!important;
}
.ant-dropdown-menu-item:hover, .ant-dropdown-menu-submenu-title:hover {
  background-color: $dropBgColor !important;
  a {
    color: #1AA3FF !important;
  }
}
